<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="./static/vue/2.6.10/vue.js" type="text/javascript"></script>
    <title>Title</title>
</head>
<body>

    <div id="app-7">
        <ol>
            <todo-item></todo-item>
            <todo-item></todo-item>
            <todo-item></todo-item>
            <todo-item></todo-item>
        </ol>
    </div>
</body>
<script type="text/javascript">
    Vue.component('todo-item', {
        template: '<li>这是个待办项</li>'
    });

    let vm = new Vue({
        el: '#app-7'
    });
</script>
</html>